package com.fw.service.persistence.dao;

import java.util.List;

import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.fw.service.persistence.dto.BOUserPasswordHistory;

public interface BOUserPasswordHistoryDAO extends JpaRepository<BOUserPasswordHistory, Long>,
	JpaSpecificationExecutor<BOUserPasswordHistory> {

    List<BOUserPasswordHistory> findByUserIdOrderByLastPasswordDateTimeDesc(Long userId, Pageable pageable);

}
